AsynchroSlave
 
 
 Bean AsynchroSlave
 
Asynchronous serial communication - slave

User types are derived from basic types and they are designed for usage in driver interface. The following types are supported: pointer, array, structure, union and user declaration.

User types:

  • BeanName_TError : user definition
    typedef union {
      byte err;
      struct {
        bool OverRun  : 1;   /* Overrun error flag */
        bool Framing  : 1;   /* Framing error flag */
        bool Parity   : 1;   /* Parity error flag */
        bool RxBufOvf : 1;   /* Rx buffer full error flag */
        bool Noise    : 1;   /* Noise error flag */
        bool Break    : 1;   /* Break detect */
        bool LINSync  : 1;   /* LIN synchronization error */
      } errName;
    } BeanName_TError;
    Error flags. For languages which don't support bit access is byte access only to error flags possible.
  • BeanName_TComData = byte; - User type for communication. Size of this type depends on the communication data witdh.



Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.